<?php
require 'sessionInfo.class.php' ;

if (!is_null($_GET["username"])) {
	$username = $_GET["username"];
}

if (!is_null($_GET["password"])) {
	$password = $_GET["password"];
} 

// 后台登录


SessionInfo::setLoginInfo("adminUsername", $username);
SessionInfo::setLoginInfo("adminPassword", $password);

echo "登录成功name=" . $username . $password;
//header('Location: http://localhost:8888/mcnews/admin/index.php', true);
?>